/*
 * IBM Confidential
 * 
 * OCO Source Materials
 * 
 * #ID# IBM CRL Supply Chain Management Research
 * 
 * (C) Copyright IBM Corp. 2009
 * 
 * The source code for this program is not published or otherwise divested of
 * its trade secrets.
 * 
 */
package com.keki.osgi.db;

import com.keki.osgi.service.user.Validator;

public class DBValidatorImpl implements Validator
{

    @Override
    public boolean validate(String userName, String password)
            throws Exception
    {
        System.out.println("DB validator");
        if("sally".equals(userName)
                && "123".equals(password))
        {
            return true;
        }
        return false;
    }

}

// end
